<include file="public:header" />

<script language="javascript" type="text/javascript" src="__ROOT__/scripts/jPlugin/chinaregion/jquery.chinaregion.js"></script>

<form action="{:U('club/edit')}" method="post" name="myform" id="myform" class="lkcmsform">

<table width="100%" cellpadding="2" cellspacing="1" class="form-table">
<tbody>
	<tr> 
      <th width="60">{:L('姓名')} :</th>
      <td>{$record.realname}</td>
    </tr>
	<tr> 
      <th width="60">{:L('邮箱')} :</th>
      <td>{$record.email}</td>
    </tr>
    <tr> 
      <th width="60">{:L('所在媒体')} :</th>
      <td>{$record.jobmedia}</td>
    </tr>
    <tr> 
      <th width="60">{:L('职位')} :</th>
      <td>{$record.zhiwei}</td>
    </tr>
    <tr> 
      <th width="60">{:L('手机')} :</th>
      <td>{$record.mobile}</td>
    </tr>
    <tr> 
      <th width="60">{:L('办公电话')} :</th>
      <td>{$record.telphone}</td>
    </tr>
    <tr> 
      <th width="60">{:L('社交媒体')} :</th>
      <td>sina:{$record.snsmedia_sina}
        <br>qq:{$record.snsmedia_qq}
          <br>weixin:{$record.snsmedia_weixin}
          <br>其他:{$record.snsmedia_other}
      </td>
    </tr>

    <tr> 
      <th width="60">{:L('联系地址')} :</th>
      <td>{$record.address}</td>
    </tr>
    <tr> 
      <th width="60">{:L('感兴趣的领域')} :</th>
      <td>{$record.interest_area}</td>
    </tr>
    <tr> 
      <th width="60">{:L('感兴趣的新闻话题')} :</th>
      <td>{$record.interest_news}</td>
    </tr>
    <tr> 
      <th width="60">{:L('建议意见')} :</th>
      <td>{$record.suggest}</td>
    </tr>
    <tr> 
      <th width="60">{:L('创建时间')} :</th>
      <td>{$record.create_time|date='Y-m-d H:i:s',###}</td>
    </tr>
    

</tbody>
</table>
<input type="hidden" name="id" value="{$record.id}" />

<table width="100%" cellpadding="2" cellspacing="1" class="form-table">
	<tfoot>
	<tr><th>
<!--<input type="submit" name="dosubmit" id="dosubmit" class="button" value="确定">-->
	</th></tr>
	</tfoot>
</table>
</form>
<script type="text/javascript">

    $(function(){
        var message_000 = "{:L('不能为空')}";
        $.formValidator.initConfig($.extend(true, {}, JPLUGIN_FORMVALIDATOR_CONFIG, {formID: 'myform'}));
        $("#email").formValidator({onShow:message_000,onFocus:message_000}).inputValidator({min:1,onError:"请输入邮箱"}).regexValidator({regexp:"^([\\w-.]+)@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.)|(([\\w-]+.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(]?)$",onError:"您输入的邮箱格式不正确"});
        $("#mobile").formValidator({onShow:message_000,onFocus:message_000}).inputValidator({min:1,onError:"请输入手机"});
        $("#prov").formValidator({onShow:message_000,onFocus:message_000}).inputValidator({min:1,onError:"请输入地区"});

    });

</script>


<script type="text/javascript">
//$("#city_3").ChinaRegionSelector({
//    	provValue:"湖南省", 
//    	cityValue:"长沙市"
//	});
</script>

<php>
echo '<script type="text/javascript">';
echo '$("#city_3").ChinaRegionSelector({';
echo 'provValue:"'.$record['prov'].'",';
echo 'cityValue:"'.$record['city'].'",';
echo '});';
echo '</script>';
</php>

<include file="public:footer" />
